package com.yc.exam.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yc.exam.entity.StudentGrade;
import com.yc.exam.mapper.StudentGradeMapper;
import com.yc.exam.service.IStudentGradeService;
import com.yc.exam.vo.StudentGradeVo;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 服务实现类
 *
 * @author 王妍
 * @since 2022-03-23
 */
@Service
@AllArgsConstructor
public class StudentGradeServiceImpl extends ServiceImpl<StudentGradeMapper, StudentGrade>
    implements IStudentGradeService {

    private StudentGradeMapper studentGradeMapper;
    @Override
    public Page<StudentGradeVo> pageVo(Long id, Page<StudentGradeVo> studentGradeVoPage) {
        return studentGradeMapper.pageVo(id,studentGradeVoPage);
    }

    @Override
    public Page<StudentGradeVo> pageVo2(Long id, Page<StudentGradeVo> studentGradeVoPage) {
        return studentGradeMapper.pageVo2(id,studentGradeVoPage);
    }
}
